from PIL import Image

def resize_image(img: Image.Image, width: int, height: int) -> Image.Image:
    return img.resize((width, height))